package com.joinlabs;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/*
 * 	
 * SpringBoot的启动类
 * 	1)把SpringBoot的项目部署到内置的tomcat中
 * 	2)启动了服务器
 */
@SpringBootApplication
@MapperScan("com.joinlabs.mapper")	//启动springboot的时候,去扫描指定的mapper包,生成动态代理对象
public class App {
	public static void main(String[] args) {
		SpringApplication.run(App.class, args);
	}
}
 